package com.exam.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description  答案实体类
 * @versions 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("考试信息实体类")
public class ExamInfo {
    @ApiModelProperty("考试信息主键，id")
    private Integer id;
    @ApiModelProperty("考试开始时间")
    private Date beginTime;
    @ApiModelProperty("考试结束时间")
    private Date endTime;
    @ApiModelProperty("考试时长")
    private Integer  duration;
    @ApiModelProperty("考试说明")
    private String examsInfo;//考试说明
    @ApiModelProperty("考试名称")
    private  String examsName;
    @ApiModelProperty("当前表对应的补考科目的id")
    private  Integer isMakeId;//当前表对应补考科目的考试id
    @ApiModelProperty("补考次数")
    private  Integer  times;
    @ApiModelProperty("考试状态")
    private String status;
    @ApiModelProperty("考试封面")
    private  String imgUrl;
    @ApiModelProperty("及格分")
    private  Integer passGrade;//及格分
    @ApiModelProperty("考试类型编号")
    private  Integer  examTypeId;//考试类型编号
    @ApiModelProperty("组卷方式")
    private  String makeMethod;//组卷方式
    @ApiModelProperty("是否有水印")
    private Integer watermark;//是否有水印
    @ApiModelProperty("不能复制")
    private Integer noCopy;
    @ApiModelProperty("不能粘贴")
    private Integer noPaste;
    @ApiModelProperty("禁止切屏")
    private Integer noChange;
    @ApiModelProperty("禁止乱序")
    private  Integer noOrder;
    @ApiModelProperty("允许暂停")
    private  Integer canPause;
    @ApiModelProperty("创建人")
    private  Integer creator;
    @ApiModelProperty("教师id")
    private  Integer teacherId;
    @ApiModelProperty("试卷id")
    private  Integer paperId;
    @ApiModelProperty("阅卷方式")
    private  String correction;//阅卷方式
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty("是否公开")
    private String examPerm;//考试是否为公开考试，半公开的考试需要有人邀请才能去考试
    @ApiModelProperty("是否被删除")
    private  String isdel;

    private  String paperName;//试卷名称
    private  String examTypeName;//类型名称
}
